import json

# id
# sno
# authors
# authors_address
# authors_jg
# blpm
# byc
# juan
# lypm
# lypmp
# nian
# qi
# qkmc
# wzlx
# xkdm1
# xkfl1
# xmlb
# yjdm
# ym
# catation
# authorsDetail

def read_json(path):
    f = open(path, 'r',encoding='utf-8')
    for i in f.readlines():
        jsonstr = json.loads(i)
        sno = jsonstr['sno']
        lymp = jsonstr['lymp']
        id = jsonstr['id']
        znum = jsonstr['znum']
        yz_lists = jsonstr['yz_lists']
        print(sno)
        print(lymp)
        print(id)
        print(znum)
        print(yz_lists)

def main():
    read_json(r'../yw_crawl/yw-1-大学图书馆学报10-15.json')

if __name__ == '__main__':
    main()